Regarding functions how can simplifying a function change it's domain

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 4K views
Marmoteer
Messages
8
Reaction score
0
for example
if [itex]f(x) = \frac{x^{2} - 1}{x+1}[/itex]

they by factoring:

[itex]f(x) = \frac{x^{2} - 1}{x+1}<br /> = \frac{(x + 1)(x - 1)}{x+1} <br /> = x - 1[/itex]

thus the simplified version is [itex]x - 1[/itex]

let's say [itex]g(x) =[/itex] simplified [itex]f(x)[/itex]

[itex]g(x) = x - 1[/itex]

meaning [itex]g(x) = f(x)[/itex]

but

[itex]g(-1) ≠ f(-1)[/itex]

am I missing something?
 
Last edited:
Mathematics news on Phys.org
##f(x) = \frac {x^2-1}{x+1}##
##f(0) = \frac {0^2-1}{0+1}##
##f(0) = -1##

##g(x) = x-1##
##g(0) = 0-1##
##g(0) =-1##
The two functions act the same except at x = -1 at which ##f(x)## has a hole at -1.
 
Oops Sorry I meant to write [itex]g(-1) ≠ f(-1)[/itex]
 
how can simplifying a function change it's domain

Symbolic manipulations in math are an abbreviation for thought, not a substitute for it. If you "simplify" an expression without thinking about it, you can make a faulty deduction. The correct deduction is

[itex]\frac{(x+1) (x-1)}{x+1} = x-1[/itex] except when [itex]x = -1[/itex].

There may be types of math where you only manipulate symbols and never use ordinary language, but algebra is not one of them.
 
Marmoteer said:
for example
if [itex]f(x) = \frac{x^{2} - 1}{x+1}[/itex]

they by factoring:

[itex]f(x) = \frac{x^{2} - 1}{x+1}<br /> = \frac{(x + 1)(x - 1)}{x+1} <br /> = x - 1[/itex]

thus the simplified version is [itex]x - 1[/itex]

let's say [itex]g(x) =[/itex] simplified [itex]f(x)[/itex]

[itex]g(x) = x - 1[/itex]

meaning [itex]g(x) = f(x)[/itex]
What you are "missing" is that this is not true. What is true is that f(x)= g(x) for all x except x= -1. f and g are NOT the same function.

but

[itex]g(-1) ≠ f(-1)[/itex]

am I missing something?
 
Stephen Tashi said:
Symbolic manipulations in math are an abbreviation for thought, not a substitute for it. If you "simplify" an expression without thinking about it, you can make a faulty deduction. The correct deduction is

[itex]\frac{(x+1) (x-1)}{x+1} = x-1[/itex] except when [itex]x = -1[/itex].

There may be types of math where you only manipulate symbols and never use ordinary language, but algebra is not one of them.

Is there an easy way to spot a problem like this, or is it something you just get better at over time?
 
You should have learned long ago that you cannot divide by 0 so that the division in
[tex]\frac{(x- 1)(x+1)}{x+1}= x- 1[/tex]
is only valid when [itex]x+ 1\ne 0[/itex] which is only true when [itex]x\ne -1[/itex].
 
mesa said:
Is there an easy way to spot a problem like this, or is it something you just get better at over time?

There are common traps, like expessions that "don't work" for some values of variables because they involve division by zero or square roots of negative numbers etc.

You'll get better at spotting the common traps over time if you become suspicious of any form of calculation. Don't trust. Don't believe.
 
Stephen Tashi said:
There are common traps, like expessions that "don't work" for some values of variables because they involve division by zero or square roots of negative numbers etc.

You'll get better at spotting the common traps over time if you become suspicious of any form of calculation. Don't trust. Don't believe.

The dividing by zero makes a lot of sense, I was surprised to see it still apllied even when the numerator would also equal 0 hence 0/0. I will certainly be mindful of this and irrational numbers in the future, thanks for the tip!