Solving an equation with fractional part function

In summary, the problem asks to solve the equation ## \{ x \} + \{ -x \} = x^2 + x -6##, where ##\{ x \}## denotes the fractional part of x, and it is given that there will be 4 roots, two of which will be integers. The solution involves considering two cases: when ##x## is an integer and when it is not. The first case yields two integer roots, while the second case leads to a quadratic equation with two roots that can be found using the definition of the fractional part function.
  • #1
Priyadarshi Raj
8
1

Homework Statement


If ##\{ x \}## denotes the fractional part of x, then solve:
## \{ x \} + \{ -x \} = x^2 + x -6##

It's provided that there are going to be 4 roots of this equation. And two of them will be integers.

Homework Equations


## 0 \lt \{ x \} \lt 1~~\text{if}~~x \not\in I##
## \{ x \} = 0~~\text{if}~~x \in I ##

The Attempt at a Solution


CASE 1: When ## x \in I##
⇒ ## 0 + 0 = x^2 +x -6 ##
⇒ ## x = -3, 2##
I got two integer roots here.

CASE 2: When ## x \not\in I##
## \text{Let, }~~x=i+f ,~~\text{where}~~i \in I~~\text{and}~~0<f<1 ##
⇒ ## \{ i+f \} + \{ -(i+f) \} = (i+f)^2 + (i+f) - 6 ##
⇒ ## f +f = (i^2 +f^2 +2if) + (i+f) -6 ##
⇒ ## f^2 + (2i-1)f + (i^2 + i -6) = 0 ##
⇒ ## f = \frac{(1-2i) \pm \sqrt{(2i-1)^2 -4(i^2 + i -6)}}{2} ##
⇒ ## f = \frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} ##
Now
## 0<f<1 ##
⇒ ## 0<\frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} <1##
⇒ ## \frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} >0 ~~ \text{and} ~~ \frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} <1 ##
⇒ ##(1-2i) \pm \sqrt{8i^2 -23}>0 ~~ \text{and} ~~ (1-2i) \pm \sqrt{8i^2 -23}<2 ##
⇒ ##\pm \sqrt{8i^2 -23}>2i-1 ~~ \text{and} ~~ \pm \sqrt{8i^2 -23}<2i+1 ##
Squaring,
⇒ ##8i^2 -23>4i^2 -4i +1 ~~ \text{and} ~~ 8i^2 -23<4i^2 +4i +1 ##
⇒ ##4i^2 +4i -24>0 ~~ \text{and} ~~ 4i^2 -4i -24<0 ##
⇒ ##i^2 +i -6>0 ~~ \text{and} ~~ i^2 -i -6<0 ##
⇒ ##(i+3)(i-2)>0 ~~ \text{and} ~~ (i-3)(i+2)<0 ##
⇒ ##(i>2 \text{or} i<-3) ~~ \text{and} ~~ (i>-2 \text{and} i<3) ##
⇒ ##2<i<3##

but this gives no definite solution.

Please help me.
Thank you.
 
Physics news on Phys.org
  • #2
Hi,

Can you explain how $$
\{ i+f \} + \{ -(i+f) \} = f + f \quad ? $$ For with e.g ##x = 1.3## I don't get ##0.6## !
 
  • #3
Priyadarshi Raj said:

Homework Statement


If ##\{ x \}## denotes the fractional part of x, then solve:
## \{ x \} + \{ -x \} = x^2 + x -6##

It's provided that there are going to be 4 roots of this equation. And two of them will be integers.

Homework Equations


## 0 \lt \{ x \} \lt 1~~\text{if}~~x \not\in I##
## \{ x \} = 0~~\text{if}~~x \in I ##

The Attempt at a Solution


CASE 1: When ## x \in I##
⇒ ## 0 + 0 = x^2 +x -6 ##
⇒ ## x = -3, 2##
I got two integer roots here.

CASE 2: When ## x \not\in I##
## \text{Let, }~~x=i+f ,~~\text{where}~~i \in I~~\text{and}~~0<f<1 ##
⇒ ## \{ i+f \} + \{ -(i+f) \} = (i+f)^2 + (i+f) - 6 ##
⇒ ## f +f = (i^2 +f^2 +2if) + (i+f) -6 ##
⇒ ## f^2 + (2i-1)f + (i^2 + i -6) = 0 ##
⇒ ## f = \frac{(1-2i) \pm \sqrt{(2i-1)^2 -4(i^2 + i -6)}}{2} ##
⇒ ## f = \frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} ##
Now
## 0<f<1 ##
⇒ ## 0<\frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} <1##
⇒ ## \frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} >0 ~~ \text{and} ~~ \frac{(1-2i) \pm \sqrt{8i^2 -23}}{2} <1 ##
⇒ ##(1-2i) \pm \sqrt{8i^2 -23}>0 ~~ \text{and} ~~ (1-2i) \pm \sqrt{8i^2 -23}<2 ##
⇒ ##\pm \sqrt{8i^2 -23}>2i-1 ~~ \text{and} ~~ \pm \sqrt{8i^2 -23}<2i+1 ##
Squaring,
⇒ ##8i^2 -23>4i^2 -4i +1 ~~ \text{and} ~~ 8i^2 -23<4i^2 +4i +1 ##
⇒ ##4i^2 +4i -24>0 ~~ \text{and} ~~ 4i^2 -4i -24<0 ##
⇒ ##i^2 +i -6>0 ~~ \text{and} ~~ i^2 -i -6<0 ##
⇒ ##(i+3)(i-2)>0 ~~ \text{and} ~~ (i-3)(i+2)<0 ##
⇒ ##(i>2 \text{or} i<-3) ~~ \text{and} ~~ (i>-2 \text{and} i<3) ##
⇒ ##2<i<3##

but this gives no definite solution.

Please help me.
Thank you.
You have to tell us how you define ##\{ x \}## for negative ##x##.
 
  • #4
Priyadarshi Raj said:

Homework Statement


If ##\{ x \}## denotes the fractional part of x, then solve:
## \{ x \} + \{ -x \} = x^2 + x -6##

It's provided that there are going to be 4 roots of this equation. And two of them will be integers.Please help me.
Thank you.

Since, for example, we can write ##-1.4## as either ## -1 - 0.4## or as ## - 2 + 0.6##, we could consider ##\{-1.4\}## as being either ##-0.4## or ##+0.6##. Which one would you take?
 
  • #5
Based on the first relevant equation I concluded ## 0.6 ## ...
 
  • #6
Sorry, I did a silly mistake there.

My teacher said, the fractional part function is defined as:
## \{ x \} = x - [x] ##, where [x] is the greatest integer function.

@Ray Vickson , that makes ## \{ -1.4 \} = +0.6 ##
So,
## \text{When}~~ x \not\in I \\
\{ x \} + \{ -x \} \\ \qquad = (x - [x] ) + (-x - [-x]) \\ \qquad= -[i+f] - [-(i+f)] \\ \qquad= -(i) - (-i-1)~~\text{or}~~ -(-i-1) - (i) \\ \qquad= 1\\

⇒ 1 = x^2 +x -6 \\
⇒x^2 +x -7 = 0 ##
and that gives the other two roots.

Thank you everyone!
 

1. What is the fractional part function?

The fractional part function, denoted as f(x), is a mathematical function that returns the decimal part of a given number. For example, f(5.7) = 0.7.

2. How do you solve an equation with the fractional part function?

To solve an equation with the fractional part function, you can use the properties of the function to isolate the variable on one side of the equation. Then, you can use algebraic manipulation techniques to solve for the variable.

3. Are there any special rules for solving equations with the fractional part function?

Yes, there are a few rules to keep in mind when solving equations with the fractional part function. First, the fractional part function can only be applied to real numbers. Second, the fractional part function has a period of 1, meaning that f(x) = f(x+1) for all real numbers x. Finally, the fractional part function is discontinuous at integers, meaning that f(x) does not equal f(x+1) at integer values of x.

4. Can the fractional part function be used to solve inequalities?

Yes, the fractional part function can be used to solve inequalities. However, the properties and rules for solving inequalities with the fractional part function may be slightly different than solving equations. It is important to carefully consider the domain and range of the function when solving inequalities.

5. Are there any real-world applications of solving equations with the fractional part function?

Yes, the fractional part function can be used in various real-world applications, such as calculating interest on loans or investments, modeling periodic functions, and designing computer graphics. It is a useful tool in mathematical modeling and problem-solving.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
13
Views
310
  • Precalculus Mathematics Homework Help
Replies
6
Views
542
  • Precalculus Mathematics Homework Help
Replies
1
Views
502
  • Precalculus Mathematics Homework Help
Replies
10
Views
614
  • Precalculus Mathematics Homework Help
Replies
7
Views
402
  • Precalculus Mathematics Homework Help
Replies
10
Views
940
  • Precalculus Mathematics Homework Help
Replies
3
Views
618
  • Precalculus Mathematics Homework Help
Replies
9
Views
981
  • Calculus and Beyond Homework Help
Replies
8
Views
180
  • Precalculus Mathematics Homework Help
Replies
15
Views
647
Back
Top