Expanding out function - why is it the right strategy for this problem?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












In Spivaks Calculus there is problem 8 in chapter 3:




For which numbers $a$, $b$, $c$, and $d$ will the function
$$
f(x) = fracax + bcx + d
$$
satisfy $f(f(x)) = x$ for all $x$?




Now, the solution I found suggests to expand out $f(f(x))$ and then simplify and arrive at the solution.




8. If
$$
x
= f(f(x))
= fraca left( fracax+bcx+d right) + b
c left( fracax+bcx+d right) + d
$$
for all $x$ then
$$
(ac+cd)x^2 + (d^2 - a^2)x - ab - bd = 0
qquad
textfor all $x$.
$$



(Original image here.)




I understand how generally expanding out works, but:



  • I wonder why it makes sense to do that for this problem.

  • What the solution in the end tells me/how it helps me to find numbers $a$, $b$, $c$, and $d$?






share|cite|improve this question


















  • 2




    I don't understand what you're getting at in your first question. In what way might this calculation be nonsensical?
    – Hurkyl
    Aug 22 at 9:01














up vote
0
down vote

favorite












In Spivaks Calculus there is problem 8 in chapter 3:




For which numbers $a$, $b$, $c$, and $d$ will the function
$$
f(x) = fracax + bcx + d
$$
satisfy $f(f(x)) = x$ for all $x$?




Now, the solution I found suggests to expand out $f(f(x))$ and then simplify and arrive at the solution.




8. If
$$
x
= f(f(x))
= fraca left( fracax+bcx+d right) + b
c left( fracax+bcx+d right) + d
$$
for all $x$ then
$$
(ac+cd)x^2 + (d^2 - a^2)x - ab - bd = 0
qquad
textfor all $x$.
$$



(Original image here.)




I understand how generally expanding out works, but:



  • I wonder why it makes sense to do that for this problem.

  • What the solution in the end tells me/how it helps me to find numbers $a$, $b$, $c$, and $d$?






share|cite|improve this question


















  • 2




    I don't understand what you're getting at in your first question. In what way might this calculation be nonsensical?
    – Hurkyl
    Aug 22 at 9:01












up vote
0
down vote

favorite









up vote
0
down vote

favorite











In Spivaks Calculus there is problem 8 in chapter 3:




For which numbers $a$, $b$, $c$, and $d$ will the function
$$
f(x) = fracax + bcx + d
$$
satisfy $f(f(x)) = x$ for all $x$?




Now, the solution I found suggests to expand out $f(f(x))$ and then simplify and arrive at the solution.




8. If
$$
x
= f(f(x))
= fraca left( fracax+bcx+d right) + b
c left( fracax+bcx+d right) + d
$$
for all $x$ then
$$
(ac+cd)x^2 + (d^2 - a^2)x - ab - bd = 0
qquad
textfor all $x$.
$$



(Original image here.)




I understand how generally expanding out works, but:



  • I wonder why it makes sense to do that for this problem.

  • What the solution in the end tells me/how it helps me to find numbers $a$, $b$, $c$, and $d$?






share|cite|improve this question














In Spivaks Calculus there is problem 8 in chapter 3:




For which numbers $a$, $b$, $c$, and $d$ will the function
$$
f(x) = fracax + bcx + d
$$
satisfy $f(f(x)) = x$ for all $x$?




Now, the solution I found suggests to expand out $f(f(x))$ and then simplify and arrive at the solution.




8. If
$$
x
= f(f(x))
= fraca left( fracax+bcx+d right) + b
c left( fracax+bcx+d right) + d
$$
for all $x$ then
$$
(ac+cd)x^2 + (d^2 - a^2)x - ab - bd = 0
qquad
textfor all $x$.
$$



(Original image here.)




I understand how generally expanding out works, but:



  • I wonder why it makes sense to do that for this problem.

  • What the solution in the end tells me/how it helps me to find numbers $a$, $b$, $c$, and $d$?








share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 23 at 10:49









Jendrik Stelzner

7,57221037




7,57221037










asked Aug 22 at 8:56









Max

495316




495316







  • 2




    I don't understand what you're getting at in your first question. In what way might this calculation be nonsensical?
    – Hurkyl
    Aug 22 at 9:01












  • 2




    I don't understand what you're getting at in your first question. In what way might this calculation be nonsensical?
    – Hurkyl
    Aug 22 at 9:01







2




2




I don't understand what you're getting at in your first question. In what way might this calculation be nonsensical?
– Hurkyl
Aug 22 at 9:01




I don't understand what you're getting at in your first question. In what way might this calculation be nonsensical?
– Hurkyl
Aug 22 at 9:01










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










  1. It's sensible to do this because you're given information about how the composition $(fcirc f)(x) = fbig(f(x)big)$ should be defined, namely that
    $$
    fbig(f(x)big) = x.
    $$
    Since you're given that $f(x)$ has the fractional form, you substitute it into itself for the composition and rearrange to get the equation that is quadratic in $x$. The reason for doing so is answered next.



  2. You have a quadratic in $x$ that equals zero, namely the quadratic
    $$
    (ac + cd)x^2 + (d^2 - a^2)x -(ab + bd) = 0.
    $$
    For this to be true for every value of $x$, I hope that you can see that we must have
    $$
    ac + cd = 0,qquad d^2 - a^2 = 0,qquad ab + bd = 0.
    $$
    These can be rewritten as
    $$
    c(a + d) = 0,qquad (d - a)(d + a) = 0,qquad b(a + d) = 0.
    $$
    Thus



    1. the first equation is zero if either $c = 0$ or $a = -d$;

    2. the second equation is zero if either $a = d$ or $a = -d$;

    3. the third equation is zero if either $b = 0$ or $a = -d$.


This actually gives two nice cases to consider. First, if $a = -d$ then all equations are satisfied so that
$$
f(x) = fracax + bcx - a.
$$
You should check that $(fcirc f)(x) = fbig(f(x)big) = x$ for this $f$.



The second case is to suppose that $a = d$ so that $c = 0$ and $b = 0$. This gives
$$
f(x) = fracaxa = x,
$$
which clearly satisfies $(fcirc f)(x) = fbig(f(x)big) = x$.



We note that if both $a = d$ and $a = -d$ are satisfied, then $a = d = 0$ so that
$$
f(x) = fracbcx.
$$
This also satisfies $(fcirc f)(x) = fbig(f(x)big) = x$ which you should check. This is just a special case of the first case.






share|cite|improve this answer






















  • Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
    – Max
    Aug 23 at 5:09










  • If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
    – Max
    Aug 23 at 5:14










  • Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
    – Bill Wallis
    Aug 23 at 9:26










  • Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
    – Max
    Aug 24 at 8:23










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890814%2fexpanding-out-function-why-is-it-the-right-strategy-for-this-problem%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










  1. It's sensible to do this because you're given information about how the composition $(fcirc f)(x) = fbig(f(x)big)$ should be defined, namely that
    $$
    fbig(f(x)big) = x.
    $$
    Since you're given that $f(x)$ has the fractional form, you substitute it into itself for the composition and rearrange to get the equation that is quadratic in $x$. The reason for doing so is answered next.



  2. You have a quadratic in $x$ that equals zero, namely the quadratic
    $$
    (ac + cd)x^2 + (d^2 - a^2)x -(ab + bd) = 0.
    $$
    For this to be true for every value of $x$, I hope that you can see that we must have
    $$
    ac + cd = 0,qquad d^2 - a^2 = 0,qquad ab + bd = 0.
    $$
    These can be rewritten as
    $$
    c(a + d) = 0,qquad (d - a)(d + a) = 0,qquad b(a + d) = 0.
    $$
    Thus



    1. the first equation is zero if either $c = 0$ or $a = -d$;

    2. the second equation is zero if either $a = d$ or $a = -d$;

    3. the third equation is zero if either $b = 0$ or $a = -d$.


This actually gives two nice cases to consider. First, if $a = -d$ then all equations are satisfied so that
$$
f(x) = fracax + bcx - a.
$$
You should check that $(fcirc f)(x) = fbig(f(x)big) = x$ for this $f$.



The second case is to suppose that $a = d$ so that $c = 0$ and $b = 0$. This gives
$$
f(x) = fracaxa = x,
$$
which clearly satisfies $(fcirc f)(x) = fbig(f(x)big) = x$.



We note that if both $a = d$ and $a = -d$ are satisfied, then $a = d = 0$ so that
$$
f(x) = fracbcx.
$$
This also satisfies $(fcirc f)(x) = fbig(f(x)big) = x$ which you should check. This is just a special case of the first case.






share|cite|improve this answer






















  • Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
    – Max
    Aug 23 at 5:09










  • If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
    – Max
    Aug 23 at 5:14










  • Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
    – Bill Wallis
    Aug 23 at 9:26










  • Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
    – Max
    Aug 24 at 8:23














up vote
1
down vote



accepted










  1. It's sensible to do this because you're given information about how the composition $(fcirc f)(x) = fbig(f(x)big)$ should be defined, namely that
    $$
    fbig(f(x)big) = x.
    $$
    Since you're given that $f(x)$ has the fractional form, you substitute it into itself for the composition and rearrange to get the equation that is quadratic in $x$. The reason for doing so is answered next.



  2. You have a quadratic in $x$ that equals zero, namely the quadratic
    $$
    (ac + cd)x^2 + (d^2 - a^2)x -(ab + bd) = 0.
    $$
    For this to be true for every value of $x$, I hope that you can see that we must have
    $$
    ac + cd = 0,qquad d^2 - a^2 = 0,qquad ab + bd = 0.
    $$
    These can be rewritten as
    $$
    c(a + d) = 0,qquad (d - a)(d + a) = 0,qquad b(a + d) = 0.
    $$
    Thus



    1. the first equation is zero if either $c = 0$ or $a = -d$;

    2. the second equation is zero if either $a = d$ or $a = -d$;

    3. the third equation is zero if either $b = 0$ or $a = -d$.


This actually gives two nice cases to consider. First, if $a = -d$ then all equations are satisfied so that
$$
f(x) = fracax + bcx - a.
$$
You should check that $(fcirc f)(x) = fbig(f(x)big) = x$ for this $f$.



The second case is to suppose that $a = d$ so that $c = 0$ and $b = 0$. This gives
$$
f(x) = fracaxa = x,
$$
which clearly satisfies $(fcirc f)(x) = fbig(f(x)big) = x$.



We note that if both $a = d$ and $a = -d$ are satisfied, then $a = d = 0$ so that
$$
f(x) = fracbcx.
$$
This also satisfies $(fcirc f)(x) = fbig(f(x)big) = x$ which you should check. This is just a special case of the first case.






share|cite|improve this answer






















  • Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
    – Max
    Aug 23 at 5:09










  • If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
    – Max
    Aug 23 at 5:14










  • Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
    – Bill Wallis
    Aug 23 at 9:26










  • Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
    – Max
    Aug 24 at 8:23












up vote
1
down vote



accepted







up vote
1
down vote



accepted






  1. It's sensible to do this because you're given information about how the composition $(fcirc f)(x) = fbig(f(x)big)$ should be defined, namely that
    $$
    fbig(f(x)big) = x.
    $$
    Since you're given that $f(x)$ has the fractional form, you substitute it into itself for the composition and rearrange to get the equation that is quadratic in $x$. The reason for doing so is answered next.



  2. You have a quadratic in $x$ that equals zero, namely the quadratic
    $$
    (ac + cd)x^2 + (d^2 - a^2)x -(ab + bd) = 0.
    $$
    For this to be true for every value of $x$, I hope that you can see that we must have
    $$
    ac + cd = 0,qquad d^2 - a^2 = 0,qquad ab + bd = 0.
    $$
    These can be rewritten as
    $$
    c(a + d) = 0,qquad (d - a)(d + a) = 0,qquad b(a + d) = 0.
    $$
    Thus



    1. the first equation is zero if either $c = 0$ or $a = -d$;

    2. the second equation is zero if either $a = d$ or $a = -d$;

    3. the third equation is zero if either $b = 0$ or $a = -d$.


This actually gives two nice cases to consider. First, if $a = -d$ then all equations are satisfied so that
$$
f(x) = fracax + bcx - a.
$$
You should check that $(fcirc f)(x) = fbig(f(x)big) = x$ for this $f$.



The second case is to suppose that $a = d$ so that $c = 0$ and $b = 0$. This gives
$$
f(x) = fracaxa = x,
$$
which clearly satisfies $(fcirc f)(x) = fbig(f(x)big) = x$.



We note that if both $a = d$ and $a = -d$ are satisfied, then $a = d = 0$ so that
$$
f(x) = fracbcx.
$$
This also satisfies $(fcirc f)(x) = fbig(f(x)big) = x$ which you should check. This is just a special case of the first case.






share|cite|improve this answer














  1. It's sensible to do this because you're given information about how the composition $(fcirc f)(x) = fbig(f(x)big)$ should be defined, namely that
    $$
    fbig(f(x)big) = x.
    $$
    Since you're given that $f(x)$ has the fractional form, you substitute it into itself for the composition and rearrange to get the equation that is quadratic in $x$. The reason for doing so is answered next.



  2. You have a quadratic in $x$ that equals zero, namely the quadratic
    $$
    (ac + cd)x^2 + (d^2 - a^2)x -(ab + bd) = 0.
    $$
    For this to be true for every value of $x$, I hope that you can see that we must have
    $$
    ac + cd = 0,qquad d^2 - a^2 = 0,qquad ab + bd = 0.
    $$
    These can be rewritten as
    $$
    c(a + d) = 0,qquad (d - a)(d + a) = 0,qquad b(a + d) = 0.
    $$
    Thus



    1. the first equation is zero if either $c = 0$ or $a = -d$;

    2. the second equation is zero if either $a = d$ or $a = -d$;

    3. the third equation is zero if either $b = 0$ or $a = -d$.


This actually gives two nice cases to consider. First, if $a = -d$ then all equations are satisfied so that
$$
f(x) = fracax + bcx - a.
$$
You should check that $(fcirc f)(x) = fbig(f(x)big) = x$ for this $f$.



The second case is to suppose that $a = d$ so that $c = 0$ and $b = 0$. This gives
$$
f(x) = fracaxa = x,
$$
which clearly satisfies $(fcirc f)(x) = fbig(f(x)big) = x$.



We note that if both $a = d$ and $a = -d$ are satisfied, then $a = d = 0$ so that
$$
f(x) = fracbcx.
$$
This also satisfies $(fcirc f)(x) = fbig(f(x)big) = x$ which you should check. This is just a special case of the first case.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Aug 23 at 9:41

























answered Aug 22 at 9:11









Bill Wallis

2,2361826




2,2361826











  • Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
    – Max
    Aug 23 at 5:09










  • If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
    – Max
    Aug 23 at 5:14










  • Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
    – Bill Wallis
    Aug 23 at 9:26










  • Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
    – Max
    Aug 24 at 8:23
















  • Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
    – Max
    Aug 23 at 5:09










  • If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
    – Max
    Aug 23 at 5:14










  • Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
    – Bill Wallis
    Aug 23 at 9:26










  • Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
    – Max
    Aug 24 at 8:23















Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
– Max
Aug 23 at 5:09




Thanks! The first coefficient in the resulting quadratic should be $(ac+cd)$ I think.
– Max
Aug 23 at 5:09












If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
– Max
Aug 23 at 5:14




If we have $ac+cd=0$ and $d^2-a^2=0$ and $ab+bd=0$ then $d^2=a^2$ so $d=a$. From there we can find that $ac+cd=0$ and cancelling out $a, d$ we find $c+c=0$ so $c=-c$? That somehow doesn't make sense to me. Can you clarify some more?
– Max
Aug 23 at 5:14












Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
– Bill Wallis
Aug 23 at 9:26




Note that $c = -c iff c = 0$, which is precisely the case. I will edit my answer some more so that you can see how one should carefully deal with these.
– Bill Wallis
Aug 23 at 9:26












Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
– Max
Aug 24 at 8:23




Thank you for the thorough explanation! It touched on a lot of topics which I still need to learn.
– Max
Aug 24 at 8:23












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890814%2fexpanding-out-function-why-is-it-the-right-strategy-for-this-problem%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Mutual Information Always Non-negative

Why am i infinitely getting the same tweet with the Twitter Search API?