Oh nice! Thanks
I'm still a bit confused though. I thought that the domain and the relation were kind of separated?
So that you can have multiple domains apply to the same relation.
I think something like this was brought up back near the chapter on hybrid functions?
Domains and relationships are separated, but they're together if they're in the form of the function. For example, here's three functions:
f: [0,1]->R, f(x)=x
g: [0,2]->R, f(x)=x
h: [0,2]->R, f(x)=x^2
Even though the first and second function have the same relationship, they have different domains, and so they are different functions. Even though the second and third functions have the same domain, they have different relationships, so they are different functions. So in that sense - yes, they are separated. However, for the function g, that domain is now paired with that relationship - so if I wanted to talk about the inverse function of g, g
-1, then I need to consider the domain that's with it. But also, the inverses of f and g here are boring, so let's talk about the inverse of h.
For h, its inverse function h
-1 must have a range of [0,2]. Because the domain of a function becomes the range of its inverse. Since the range must be [0,2], that means I know that I must take the positive square-root - because if I take the negative square-root, the range will also be negative.
I have a few questions:
First, how do you find the domain and range of composite functions?
Then, when there is a question where you have to find the derivative, and hence find the antiderivative of a different function, how does that work?
Also antiderivatives of composite functions and fraction ones like (3/(x-2)^2) or even (3/(x-2))?
Thanks
For the first one, in methods we assume a function composition can only happen if the range of the inner function is a subset of the domain of the outer function. This isn't strictly true in maths, but methods likes to take liberties with facts, and it does make our lives slightly easier if it is true. This means the domain of the composite function is the domain of the inner function - because, think about it. If all of the outputs, the range, of the inner function can enter the outer function, then what is a list of numbers that give you all of the outputs of that inner function? It's the domain of the inner function.
Finding the range of the composition is slightly more complicated. First, figure out the range of the outer function. Let's say I have the function composition f(g(x)). Well, to make my life easier, I'm going to call g(x)=u. So, now I'm trying to graph f(u). How would you find the range of f(u)? Well, I would figure out all the numbers u can be, and I would call that the domain. Then I would graph f(u), and see what y-values it has. Okay, so how can I figure out all of the numbers that u can be? Well, u=g(x), so surely all the numbers that u can be is simply all of the outputs of g(x) - so, the domain of u is the same as the range of g(x). So, to find the range of f(g(x)), all I need to do is:
1. find the range of g(x)
2. put those numbers into the domain of f(u), and then
3. the range of f(u) is going to be the same as the range of f(g(x)).
Simple 3 step solution!
Next - you're asking about integration by inspection. The trick to these questions is to know that the derivative sign and the anti-derivative sign sort of cancel each other out. Let's say I'm told to find the derivative of x*sin(x). This would be:
\[
\frac{d}{dx} x\sin(x)=x\cos(x) +\sin(x)
\]
Simple product rule, hopefully you can see how I made it - let me know if you can't, I'll be much more explicit. Next, the question asks me to find an antiderivative of x*cos(x). Well, I don't know how to do that! But, what if I just take the top expression, and take the antiderivative of both sides? This would give me:
\[
\int\frac{d}{dx} x\sin(x)\: dx=\int x\cos(x) +\sin(x)\:dx
\]
Okay, so that integral sign on the left cancels out with the derivative sign (but I need to make sure I put a +C the moment one of these sides doesn't have an integral sign!), and I can split up the one on the right like so:
\[
x\sin(x)+C=\int x\cos(x)\:dx +\int\sin(x)\:dx
\]
And now, I can solve for the integral of x*cos(x):
\[
x\sin(x)+C=\int x\cos(x)\:dx -\cos(x)\\
x\sin(x)+\cos(x)+C=\int x\cos(x)\: dx
\]
Which is exactly what the question wanted me to find! So, those questions are all about recognising the derivatice and anti-derivative signs "cancel out", and then just some basic algebra manipulation.
Finally, antiderivatives of reciprocal functions. In methods, these can only be in the form of \(\int\frac{a}{(bx+c)^n}\:dx\) Integrating these isn't too hard - for example, you should also know how to do \(\int a(bx+c)^n\:dx\) All you do is add one to the power, divide by the new power, and divide by the derivative of what's in the brackets. It's kind of like the chain rule, but in reverse. So, how do you do that if it's a fraction? Well, flip the fraction, then add 1 to the power, divide by the power, and divide by the derivative of the bracket. Here's some examples:
\[
\int 7(2x-3)^3\:dx = \frac{7}{4\times 2}(2x-3)^4 +C\\
\int\frac{2}{(5x-1)^{12}}\:dx=\int 2(5x-1)^{-12}\: dx=\frac{2}{-11\times 5}(5x-1)^{-11}+C
\]
(normally you would simplify the denominator - I haven't in this case, so it's super clear where all the numbers are coming from)
Finally, there is one exception to this rule - and that's when the power of the denominator is 1. For example, \(\int\frac{1}{x-2}\:dx\). This one actually becomes a log to the base e - more specifically, \(\int\frac{1}{x-2}\:dx=\log_e(x-2)+C\). And the reason for this is because if you differentiate a logarithm, you get 1/the number inside the logarithm. You should remember this, and it is on your formula sheet:
\[
\frac{d}{dx}\log_e(2x-1)=\frac{2}{2x-1}\\
\frac{d}{dx}\log_e(5-6x)=\frac{-6}{5-6x}=\frac{6}{6x-5}
\]
Since we know that integration is the opposite of differentiation, it should then make sense if I wanted to integrate something of the form \(\frac{a}{bx+c}\), then it should become a logarithm. However, it is important to note this is only true for when the number inside the logarithm is positive, since you can't take the logarithm of a negative number
Let me know if I've confused you with any of these points.