Solving for n: Natural Number Fraction Equality

  • Thread starter Theofilius
  • Start date
  • Tags
    Natural
In summary, the conversation discusses a problem in algebra where the task is to find for which values of n, the fraction (n^2-n+2)/(n+1) is also a natural number. The users provide hints and guidance on how to approach the problem, including using long division and rewriting the fraction as a sum of an ordinary polynomial and a number over (n+1). Eventually, the solution is given as n-2 + 4/(n+1).
  • #1
Theofilius
86
0

Homework Statement



Hello! I am new user on this forum.

I have one problem with Algebra.

Here it is:

For which [tex]n \in \mathbb{N}[/tex], this fraction is also natural number?

[tex]\frac{n^2-n+2}{n+1}[/tex]

Homework Equations





The Attempt at a Solution



I don't have any idea, where to start from. Thanks for the help.
 
Physics news on Phys.org
  • #2
Hi Theofilius! Welcome to PF! :smile:

Whenever you have a nasty fraction …
:smile: turn it into a nice one! :smile:

So … do the long division … try expressing [tex]\frac{n^2-n+2}{n+1}[/tex] as a sum of an ordinary polynomial (that isn't a fraction), and a number over (n + 1).

And then … :smile:
 
  • #3
Like this?

[tex](n^2-n+2)(n+1)^-^1[/tex]

And then what?
 
  • #4
No.

Like this: (n+7)/(n - 3) = 1 + 10/(n - 3).

Try again! :smile:
 
  • #5
How did you find this? And what did we prove with this equation?
 
  • #6
Theofilius said:
How did you find this? And what did we prove with this equation?

Ah!

Obviously, 1 = (n - 3)/(n - 3).

So 1 + 10/(n - 3)
= (n - 3)/(n - 3) + 10/(n - 3)
= (n - 3 + 10)/(n - 3)
= (n - 7)/(n - 3).

Similarly, you can use n = n(n - 3)/(n - 3), n^2 = n^2(n - 3)/(n - 3), and so on …

Have a go! :smile:
 
  • #7
I think you have some error. We can't write (n+7)/(n - 3) = 1 + 10/(n - 3), because if I write n=1,
(1+7)/(1-3)=1+10/(1-3)
8/-2=1+10/-2
-4=-4

And if we get n=1 in the fraction, we will have [tex]\frac{1^2-1+2}{1+1}=1[/tex]
 
  • #8
Theofilius said:
I think you have some error. We can't write (n+7)/(n - 3) = 1 + 10/(n - 3), because if I write n=1,
(1+7)/(1-3)=1+10/(1-3)
8/-2=1+10/-2
-4=-4

But -4=-4 is correct!

Theofilius, you are somehow going to have to convince yourself that [tex](n+7)/(n - 3) = 1 + 10/(n - 3)[/tex] , or you'll never be able to deal with fractions of polynomials.

First, try some numbers other than 1.

Then go though my proof again:
tiny-tim said:
Obviously, [tex]1 = (n - 3)/(n - 3)\,.[/tex]

So [tex]1\,+\.10/(n - 3)
= (n\,-\,3)/(n\,-\,3)\,+\,10/(n\,-\,3)
= (n\,-\,3\,+\,10)/(n\.-\,3)
= (n\,-\,7)/(n\,-\,3)\,.[/tex]
and tell me which bit of the proof you don't follow. :smile:
 
  • #9
Look, we need to find out for which number n which belongs to the natural numbers, we get also natural number for the fraction. Not an equation -4=-4 or whatever.
 
  • #10
Theofilius, I repeat:
tiny-tim said:
you are somehow going to have to convince yourself that [tex](n+7)/(n - 3) = 1 + 10/(n - 3)[/tex] , or you'll never be able to deal with fractions of polynomials.

(a) That's very true!

(b) Take my word for it - once you've rewritten [tex]\frac{n^2-n+2}{n+1}[/tex] as a sum of an ordinary polynomial (that isn't a fraction), and a number over (n + 1), the answer will be obvious. :smile:
 
  • #11
And what have I done with it? With every n, number I get natural number?
 
  • #12
Theofilius said:
And what have I done with it? With every n, number I get natural number?

No, you'll find that with most n, you don't. But with some you do …

Try, and you'll see …
 
  • #13
And my task says, for which n we get natural number for the fraction?
 
  • #14
And, as you have already been told, your fraction is the same as 1+ 10/(n-3).

1 is, of course, a natural number. For what values of n is 10/(n-3) a natural number?

If you can't see it immediately try n= 1, 2, 3, 4, 5, etc.
 
  • #15
[tex]\frac{n^2-n+2}{n+1} \neq 1+ \frac{10}{n-3}[/tex]

let's get n=2

[tex]\frac{2^2-2+2}{2+1} \neq 1+ [/tex] [tex]\frac{10}{2-3}[/tex]

[tex]\frac{4}{3} \neq 1+ [/tex] [tex]\frac{10}{-1}[/tex]

[tex]\frac{4}{3} \neq -9[/tex]
 
Last edited:
  • #16
Theofilius said:
I think you have some error. We can't write (n+7)/(n - 3) = 1 + 10/(n - 3),
Why? Have you tried to simplify the RHS and see whether you get back (n+7)/(n - 3)?

tiny-tim said:
(b) Take my word for it - once you've rewritten [tex]\frac{n^2-n+2}{n+1}[/tex] as a sum of an ordinary polynomial (that isn't a fraction), and a number over (n + 1), the answer will be obvious. :smile:

What tiny-tim is trying to do is teach you algebraic division again. :smile:

When you divide (n^2-n+2) by (n+1), what is the quotient and the remainder? In the example he has given, when you divide n+7 by n-3, you get a quotient of 1 and a remainder of 10. So, (n+7)/(n - 3) = 1 + 10/(n - 3). He wants you to express your original fraction in this way.
 
  • #17
Oh my god! It was its example? I thought it was connected with my example. Lol!
When I'll divide n^2-n+2:(n+1)=n-2
So I will get natural number for every n-2 number, right?
 
  • #18
No. Write it as quotient and remainder form.
 
  • #19
So, I've done it.

[tex](n+1)(n-2)+0=n^2-n+2[/tex]

[tex](n+1)(n-2)+0=n^2-n+2[/tex] /: [tex]\frac{1}{n+1}[/tex]

[tex]n-2=\frac{n^2-n+2}{n+1}[/tex]
 
Last edited:
  • #20
Theofilius said:
So, I've done it.

[tex](n+1)(n-2)+0=n^2-n+2[/tex]

[tex](n+1)(n-2)+0=n^2-n+2[/tex][tex]/:[/tex][tex]\frac{1}{n+1}[/tex]

[tex]n+1=\frac{n^2-n+2}{n+1}[/tex]

Not correct...

What you have to do is write (n^2-n+2)/(n+1) as Q + R/n, where Q would be a polynomial in n whose degree here is 1, and R is a polynomial whose degree is less than that of n-1.

Go back to the example again.
 
  • #21
Nearly there …

Theofilius said:
[tex](n+1)(n-2)+0=n^2-n+2[/tex]

Nearly there! :smile: :smile:

But you have to be more careful with your multiplication:

[tex](n+1)(n-2)\,=\,n^2\,-\,n\,-\,2[/tex], not [tex]n^2\,-\,n\,+\,2[/tex].

So that gives you … ?
 
  • #22
Hello Physicsissuef,

I think the OP would have eventually got there by himself! That was the purpose of nudging him gently toward the right direction, without spelling it out for him...

(EDIT: This was in response to a post by Physicsissuef, which he later deleted.)
 
Last edited:
  • #23
Shooting Star said:
Hello Physicsissuef,

I think the OP would have eventually got there by himself! That was the purpose of nudging him gently toward the right direction, without spelling it out for him...

Now, he will understand that, his error was in his multiplication, and nothing else.
 
  • #24
Physicsissuef said:
It should be …

Hi Physicsissuef!

Could you possibly edit your post so as not to give the actual answer - in the hope that Theofilius hasn't seen it yet?

Thankx. :smile:
 
  • #25
Ok, I deleted it.
 
  • #26
I'll give a BIG hint. [tex]\frac{n^{2} - n + 2}{n + 1}[/tex] = [tex]\frac{n^{2} - n - 2 + 4}{n + 1}[/tex]= [tex]\frac{(n + 1)(n - 2) + 4}{n + 1}[/tex] = [tex]\frac{(n + 1)(n - 2)}{n + 1}[/tex] + [tex]\frac{4}{n + 1}[/tex] = n - 2 + [tex]\frac{4}{n + 1}[/tex].
You should be able to solve it from here.
 
  • #27
tiny-tim said:
Hi Physicsissuef!

Could you possibly edit your post so as not to give the actual answer - in the hope that Theofilius hasn't seen it yet?

Thankx. :smile:

The reply would have automatically gone to the OP's mailbox anyway. But thanks to Physicsissuef for trying. And now, after presumably having read the whole thread, here is a BIG "hinter". :rolleyes:

Give it up, tiny-tim. Be satisfied thinking that the OP must have got the answer by himself, and learned something. That's what PF's for.
 
  • #28
Well, I didn't show the complete solution. I just showed a little bit different approach. I saw that some people here recommended doing the division, looking at the reminder etc, when the equation could simply be rearranged to a form in which it is quite easy to understand.
 
  • #29
kbaumen said:
Well, I didn't show the complete solution. I just showed a little bit different approach. I saw that some people here recommended doing the division, looking at the reminder etc, when the equation could simply be rearranged to a form in which it is quite easy to understand.

:smile: Some people seem to be very old fashioned indeed!

The "people" here meant to ultimately guide the OP to do exactly what you have done, but since the OP perhaps seemed a bit confused by member tiny-tim's approach through an arbitrary example, the "people" here decided to give it in a way that maybe a young OP could relate to, saying quotients and remainders.

To be honest, your hint was a bit too big for a hint. But good job. :approve:
 
Last edited:
  • #30
Ah, ok, I'll try not to say that much next time. How 'bout this?

To solve this exercise, you need to rearrange the equation. [tex]n^{2} - n + 2[/tex] can't be factorized, but what about [tex]n^{2} - n - 2[/tex]?
 
Last edited:
  • #31
kbaumen said:
Ah, ok, I'll try not to say that much next time. How 'bout this?

A newbie not so good in Math may get confused. Perhaps the best would be to give him just the first step of your derivation; or something like

[itex]\frac{n^{2} - n + 2}{n + 1}[/itex] = [itex]\frac{n(n+1) - 2n + 2}{n + 1}[/itex], so that he again makes a factor of (n+1) from the rest of the terms in the numerator.

It all depends on how it's going.
 
Last edited:
  • #32
Shooting Star said:
A newbie not so good in Math may get confused. Perhaps the best would be to give him just the first step of your derivation; or something like

[itex]\frac{n^{2} - n + 2}{n + 1}[/itex] = [itex]\frac{n(n+1) - 2n + 2}{n + 1}[/itex], so that he again makes a factor of (n+1) from the rest of the terms in the numerator.

It all depends on how it's going.
I doubt that would help him much
[tex]\frac{n^2- n+ 2}{n+1}= \frac{(n-2)(n+1)+ 4}{n+1}[/tex]
would be much better.
Of course, it would be best if he learned to divide!
 
  • #33
Ok. I understand now, thanks everyone.
[tex]n^2- n+ 2= (n-2)(n+1)+4[/tex]

So i divide the whole equation with [tex]\frac{1}{n+1}[/tex]

[tex]\frac{n^2-n+2}{n+1}= n-2 + \frac{4}{n+1}[/tex]

So only for n=1 and n=3, I get natural numbers for the fraction, right?
 
Last edited:
  • #34
Theofilius said:
So only for n=1 and n=3, I get natural numbers for the fraction, right?

That's it!

So just remember the moral - turn any nasty fraction into a nice one! (and practise your multiplication …) :smile:
 
  • #35
Shooting Star said:
... or something like

[itex]\frac{n^{2} - n + 2}{n + 1}[/itex] = [itex]\frac{n(n+1) - 2n + 2}{n + 1}[/itex], so that he again makes a factor of (n+1) from the rest of the terms in the numerator.

It all depends on how it's going.

HallsofIvy said:
I doubt that would help him much
[tex]\frac{n^2- n+ 2}{n+1}= \frac{(n-2)(n+1)+ 4}{n+1}[/tex]
would be much better.

It depends, I repeat, on how you feel the student is responding. I want to give a hint, not the answer. He may miss the point even if you give the hint your way, as happened in this thread.

Shooting Star said:
When you divide (n^2-n+2) by (n+1), what is the quotient and the remainder? .

HallsofIvy said:
Of course, it would be best if he learned to divide!

Ah, somebody who finally agrees with me. But I was considered dated. :rolleyes: Division takes care of all the problems.

HallsofIvy said:
And, as you have already been told, your fraction is the same as 1+ 10/(n-3).

:confused:
I think a perusal of the complete thread is necessary before posting; otherwise OPs may get confused.
 

Similar threads

  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
12
Views
884
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
592
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
926
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
21
Views
807
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
Back
Top