Finding the number of rational values a function can take

  • #1
Titan97
Gold Member
451
18

Homework Statement


##f(x)## is a continuous and differentiable function. ##f(x)## takes values of the form ##^+_-\sqrt{I}## whenever x=a or b, (where ##I## denotes whole numbers) ; otherwise ##f(x)## takes real values. Also, ##|f(a)|\le |f(b)|## and ##f(c)=-1.5##. Graph of ##y=f(x)f'(x)##:
Untitled.png

The number of rational values that ##f(a)+f(b)+f(c)## can take is?

Homework Equations


None

The Attempt at a Solution


My teacher told me that the question has data insufficiency. But I don't know why.
##f(x)f'(x)=0## implies either ##f(x)## or ##f'(x)## or both are zero. At ##c## ##f'(x)## is zero since ##f(x)## is non zero. Hence, f(x) has a maxima or minima at ##x=c##.
Now, from ##a## to ##c##, either bothe the function and its derivative is positive or both are negative. Applying Rolle's theorem,
##{f'(k)}^2+f(k)f"(k)=0## since ##g(a)=(c)##.
But I don't seem to be getting anywhere.
 

Answers and Replies

  • #2
RUber
Homework Helper
1,687
344
Looking at the plot, between a and c, f(x) and f'(x) are either both negative or both positive. Since f(c) = -1.5, we should assume both negative. Then from b to c, f(x) and f'(x) should have different signs, and we know that f(c) is negative, so assume f(x) <0 f'(x) >0.
So the range of f(a) is bounded, as is the range of f(b). And you know that they are integers.
f(c) is fixed, so it will not contribute to the number of possible solutions to f(a) + f(b) + f(c).
So, how many whole numbers can f(a) be? what about f(b)?
 
  • #3
Titan97
Gold Member
451
18
f(a) and f(b) is always irrational. (given in the question). So, for f(a) + f(b) + f(c) to be rational, f(a)=-f(b). Also, f(a)<0 and f(b)>0.
 
  • #4
RUber
Homework Helper
1,687
344
f(a) and f(b) is always irrational. (given in the question). So, for f(a) + f(b) + f(c) to be rational, f(a)=-f(b). Also, f(a)<0 and f(b)>0.
The question says that f(a) and f(b) are roots of a whole number. So 1 and 0 are not out of the question.
if f(b) > 0, where does the function cross the axis, i.e. f(x)=0?
 
  • #5
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,743
1,329
f(a) and f(b) is always irrational. (given in the question). So, for f(a) + f(b) + f(c) to be rational, f(a)=-f(b). Also, f(a)<0 and f(b)>0.
If ##\ I\ ## is a perfect square, then ##\ \sqrt{I}\ ## is rational.
 
  • #6
RUber
Homework Helper
1,687
344
On interval (a,c), f(x) is either negative and decreasing or positive and increasing; which option makes it possible to continuously arrive at f(c) = -1.5?
On interval (c,b), f(x) is either negative and increasing or positive and decreasing; which option makes it possible to begin continuously from f(c) = -1.5?
Is it possible for there to be any value in (c,b) where f(x) = 0? What would the plot look like at that point?
What whole numbers have roots in your possible ranges?
What combinations of those values are possible after imposing ##|f(a)| \leq |f(b)|##?
I get a number less than 10.
 
  • #7
Titan97
Gold Member
451
18
f(c)<0. This means, f'(c)<0. This is only for x=c. How can you say its true for all ##x\in [a,c]##?
 
  • #8
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,743
1,329
f(c)<0. This means, f'(c)<0. This is only for x=c. How can you say its true for all ##x\in [a,c]##?
The function is continuous, right.

If it changes sign to the left of c, then what value must it pass through?
 
  • #9
RUber
Homework Helper
1,687
344
f(c)<0. This means, f'(c)<0. This is only for x=c. How can you say its true for all ##x\in [a,c]##?
You mean f'(c) = 0, as you said in your initial post.
Between a and c, neither f nor f' can be zero, as SammyS mentioned, so your possible values for f(a) are constrained.
Similarly, between c and b, neither f nor f' can be zero, so you are constrained for possible values at f(b).
Add in the additional constraints of |f(a)| ≤ |f(b)| and then counting only the rational sums does not leave many possible options.
 
  • #10
Titan97
Gold Member
451
18
I have been trying this problem for hours.
f'(c)=0, f(x)f'(x)>0 for ##x\in [a,c]##. But f(c)<0. So f(x) between a and c is also negative since function is continuous. But can't f(x) have a root between a and c?
 
  • #11
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,743
1,329
I have been trying this problem for hours.
f'(c)=0, f(x)f'(x)>0 for ##x\in [a,c]##. But f(c)<0. So f(x) between a and c is also negative since function is continuous. But can't f(x) have a root between a and c?
What would that imply for ##\ y=f(x) f'(x) \ ## at that root ?
 
  • #12
Titan97
Gold Member
451
18
it implies that y=0
 
  • #13
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,743
1,329
it implies that y=0
Does that shed some light on this problem?
 
  • #14
Titan97
Gold Member
451
18
I am confused. Here are some plots for f(x) which are possible:
Untitled.png


Untitled2.png


Untitled3.png
 
  • #16
Titan97
Gold Member
451
18
Why can't there be a root? The graphs are for y=f(x) and not f(x)f'(x). There are no roots for y=f(x)f'(x) in a<x<c
 
  • #18
Titan97
Gold Member
451
18
None of those look right to me. The curve given in the OP implies that in (a,c) f and f' have the same sign and in (c,b) they have the opposite sign.
But I do count three possibilities for the shape of f.
Ok. I will analyse the curve separately from a to c and from c to b.
From a to c:
From ##a## to ##c##, f(x) and f'(x) have same sign.
Since ##y=f(x)f'(x)## is not zero for any ##x\in (a,c)##, ##f(x)## and ##f'(x)##≠0. At ##x=a##, ##f(a)f'(a)=0##. So either ##f(a)## or ##f'(a)## or both are zero. giving 3 possibilities.
Since ##y>0## from ##a## to ##c##, and ##f(c)<0##, ##f'(x)## and ##f(x)## is forced to be negative. ##f(a)## may be zero.
So the curve can be either red or green:
Untitled.png
 
  • #19
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,559
8,823
Ok. I will analyse the curve separately from a to c and from c to b.
From a to c:
From ##a## to ##c##, f(x) and f'(x) have same sign.
Since ##y=f(x)f'(x)## is not zero for any ##x\in (a,c)##, ##f(x)## and ##f'(x)##≠0. At ##x=a##, ##f(a)f'(a)=0##. So either ##f(a)## or ##f'(a)## or both are zero. giving 3 possibilities.
Since ##y>0## from ##a## to ##c##, and ##f(c)<0##, ##f'(x)## and ##f(x)## is forced to be negative. ##f(a)## may be zero.
So the curve can be either red or green:
View attachment 87026
Yes, but you could make it clearer that the red curve isn't necessarily zero gradient at a. It need not have an inflexion between a and c.
 
  • #20
Titan97
Gold Member
451
18
ok. It could be zero. From c to b:
  1. y=f(x)f'(x)<0 so f(x) and f'(x) have opposite signs
  2. since f(c)<0, f'(x)>0 in (c,b) hence an increasing curve.
  3. Again, y≠0 in (c,b) so the curve is entirely below/above x-axis.
  4. f'(c)=0 and f(b)f'(b)=0.
So here are the possible curves:
Untitled.png
 
  • #21
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,559
8,823
ok. It could be zero. From c to b:
  1. y=f(x)f'(x)<0 so f(x) and f'(x) have opposite signs
  2. since f(c)<0, f'(x)>0 in (c,b) hence an increasing curve.
  3. Again, y≠0 in (c,b) so the curve is entirely below/above x-axis.
  4. f'(c)=0 and f(b)f'(b)=0.
So here are the possible curves:
View attachment 87027
Right. But combining with (a,c), one of the four possibilities is ruled out in the OP, leaving 3.
 
  • #22
Titan97
Gold Member
451
18
Here are the possible curves:

Untitled.png
 
  • #24
Titan97
Gold Member
451
18
i think f(a) and f(b) can only take values from 0 to -3/2.
 
  • #25
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,559
8,823
i think f(a) and f(b) can only take values from 0 to -3/2.
Yes. So combine that with the other info you have about f(a), f(b).
 
  • #26
Titan97
Gold Member
451
18
f(a) and f(b) can only take values of the form ##^+_-\sqrt{I}##. From 0 to -3/2, the values are 0,-√1,-√2.
 
  • #27
RUber
Homework Helper
1,687
344
f(a) and f(b) can only take values of the form ##^+_-\sqrt{I}##. From 0 to -3/2, the values are 0,-√1,-√2.
Finally, add in the rational condition and |f(a)|<=|f(b)| to get your answer.
 
  • #28
Titan97
Gold Member
451
18
f(a)=-√2 , f(b)=-√2
f(a)=-√1 , f(b)=-√1
f(a)=0 , f(b)=0
f(a)=0 , f(b)=-√1
f(a)=-√1 , f(b)=-√2
f(a)=0 , f(b)=-√2
So the answer is 3?
 
  • #29
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,559
8,823
f(a)=-√2 , f(b)=-√2
f(a)=-√1 , f(b)=-√1
f(a)=0 , f(b)=0
f(a)=0 , f(b)=-√1
f(a)=-√1 , f(b)=-√2
f(a)=0 , f(b)=-√2
So the answer is 3?
You listed six combinations, and I don't see any two that have the same sum.
 
  • #30
Titan97
Gold Member
451
18
what is that supposed to mean?
 
  • #31
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,559
8,823
what is that supposed to mean?
The question in the OP is
The number of rational values that f(a)+f(b)+f(c) can take is?
Given what you have found, why do you the answer is 3 instead of 6?
 
  • #32
Titan97
Gold Member
451
18
0 - 3/2 - √2 is not a rational number
 
  • #33
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,559
8,823
0 - 3/2 - √2 is not a rational number
Whoops - forgot that bit. Sorry for the noise.
 
  • #34
Titan97
Gold Member
451
18
That's ok :angel:
 

Suggested for: Finding the number of rational values a function can take

Replies
8
Views
138
  • Last Post
Replies
6
Views
425
Replies
13
Views
471
Replies
4
Views
186
Replies
6
Views
423
Replies
3
Views
130
Replies
6
Views
399
Replies
7
Views
585
Replies
1
Views
451
  • Last Post
Replies
1
Views
445
Top