What is the domain of f(x) = x + 1?

  • Context: High School 
  • Thread starter Thread starter Kys91
  • Start date Start date
  • Tags Tags
    Domain
Click For Summary

Discussion Overview

The discussion revolves around the domain of the function f(x) = x + 1, particularly in relation to its simplification from the rational function f(x) = (x^2 + 4x + 3) / (x + 3). Participants explore the implications of simplification on domain definitions and the distinction between equivalent functions.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that the domain of the rational function f(x) = (x^2 + 4x + 3) / (x + 3) is all real numbers except x = -3 due to division by zero.
  • Others argue that while f(x) = x + 1 simplifies from the rational function, it is not equivalent to f(x) because it is defined for all real numbers, unlike the original function.
  • One participant emphasizes that two functions can be considered equal only if they have the same domain, codomain, and yield the same output for the same input.
  • There is a discussion about the concept of codomain, with some participants questioning its necessity and how it relates to the definition of functions.
  • Some participants express confusion about the distinction between codomain and range, and how this affects the classification of functions.
  • A later reply highlights the usefulness of discussing functions with the same domain and codomain, even when their ranges differ.

Areas of Agreement / Disagreement

Participants generally agree on the domain of the rational function but disagree on the implications of simplification and the nature of function equivalence. The discussion remains unresolved regarding the necessity and role of codomain in function definitions.

Contextual Notes

Limitations include varying definitions of codomain and range across different texts, as well as the potential for confusion regarding the equivalence of functions based on their domains and codomains.

Kys91
Messages
12
Reaction score
0
Suppose you have f(x) = ( x^2 + 4x + 3 ) / (x+3), making a scan in that function you can say that D : R / x =! -3, because x with -3 would give a division by zero.

But, suppose you simplify that function by factorizing, you get f(x) = x + 1

It would represent the same value, but my teacher says that in f(x) = x + 1, the domain would be the same as the other function, as far as I understand, it would for the first function, but not in the second, because even though they represent the same, are different functions.

So f(x) = x + 1 domain would be: D : R / x =! 0

Unless, she's still taking about the first function, and just using the simplification of the function just to make it easier to graph.

What is your take on this?

Correct me if I am wrong.

Thanks
 
Physics news on Phys.org
The domain of any ration function [itex]\frac{p(x)}{q(x)}[/itex] where p and q are polynomials is [itex]\{ x : q(x) \neq 0 \}[/itex]

In your example [itex]f(x) = \frac{x^2+4x+3}{x+3}[/itex], the domain is all x other than -3 (as was mentioned).

However, [itex]f(x) = x + 1[/itex] for every x in the domain of f since

[tex]\frac{x^2+4x+3}{x+3} = \frac{(x+1)(x+3)}{x+3} = x+1.[/tex]

But x + 1 is not the same as f, since f is not defined for x = -3 whereas x + 1 is. The problem is that the cancellation of the factor (x + 3) is only possible if the factor is nonzero.

So [itex]f(x) = x+1,x \neq 0.[/itex]

I hope this is helpful.

--Elucidus
 
Elucidus said:
The domain of any ration function [itex]\frac{p(x)}{q(x)}[/itex] where p and q are polynomials is [itex]\{ x : q(x) \neq 0 \}[/itex]

In your example [itex]f(x) = \frac{x^2+4x+3}{x+3}[/itex], the domain is all x other than -3 (as was mentioned).

However, [itex]f(x) = x + 1[/itex] for every x in the domain of f since

[tex]\frac{x^2+4x+3}{x+3} = \frac{(x+1)(x+3)}{x+3} = x+1.[/tex]

But x + 1 is not the same as f, since f is not defined for x = -3 whereas x + 1 is. The problem is that the cancellation of the factor (x + 3) is only possible if the factor is nonzero.

So [itex]f(x) = x+1,x \neq 0.[/itex]

I hope this is helpful.

--Elucidus

You mean [itex]f(x)=x+1, x \neq -3[/itex], right?
 
Дьявол said:
You mean [itex]f(x)=x+1, x \neq -3[/itex], right?

Yeh. :| Sorry for any confusion.

--Elucidus
 
Elucidus said:
But x + 1 is not the same as f, since f is not defined for x = -3 whereas x + 1 is. --Elucidus

Wow thank you, so, they are not an equivalent function, they can't be simplified, it is literal. You could find something that would be equivalent, and maybe "simpler" to manage with the same domain, range, and express the same thing, but they would be still be different.

A function is whateaver it is told it is, but if we are doing a computer program for temperature conversion, 2 programmers might use different mathematical function, it might "mean" the same to us, but in mathematics, it would be a different function.

What do you think?
 
Kys91 said:
Wow thank you, so, they are not an equivalent function, they can't be simplified, it is literal. You could find something that would be equivalent, and maybe "simpler" to manage with the same domain, range, and express the same thing, but they would be still be different.

A function is whateaver it is told it is, but if we are doing a computer program for temperature conversion, 2 programmers might use different mathematical function, it might "mean" the same to us, but in mathematics, it would be a different function.

What do you think?

Technically, two functions are equal if they have the same domain, the same codomain, and have the same value for the same argument. i.e.:

For [itex]f:A \rightarrow B, g: C \rightarrow D[/itex] we say f = g if

[itex]A=C,B=D, \text{ and } f(x)=g(x) \text{ for all } x \in A (=C)[/itex]

So [itex]f= (x \mapsto (x+1)(x-1)):\mathbb{R} \rightarrow \mathbb{R}[/itex] and [itex]g=(x \mapsto x^2-1):\mathbb{R} \rightarrow \mathbb{R}[/itex] are equal, but

[itex]h=(x \mapsto (x^3-x)/x):\mathbb{R}-\{0\} \rightarrow \mathbb{R}[/itex] is not equal to f (or g) since h is not defined at x = 0.

So variations in the structure of the rule are permissable as long as the function value is the same on the common domain.

Note, some texts define equality without worrying about codomain, but this is being marginally sloppy.

--Elucidus
 
If two functions have the same domain and have the same value for the same argument, how can they NOT have the same codomain?
 
HallsofIvy said:
If two functions have the same domain and have the same value for the same argument, how can they NOT have the same codomain?

[itex]f=(x \mapsto x^2):\mathbb{R} \rightarrow \mathbb{R}[/itex]

and

[itex]g=(x \mapsto x^2):\mathbb{R} \rightarrow [0, \infty)[/itex]

agree on their domains, but have different codomains. There are technically not the same function, since they belong to different Cartesian product spaces. Some texts do not worry about such distinctions use a looser sense of "equivalence."

--Elucidus
 
Thanks for the responses Elucidus. My textbook doesn't include "codomain", it's an Spanish one. I am Mexican but I am glad that I have been understood even when I have to talk math concepts using English because I have never tried so, nor had a math class in English.

I really admire you sir, for the ones interested in the class, I am really sure you inspire them. You do for me, even online.

I have general questions, but I will leave them for later, I will first browse around the forum.

Thanks.
 
  • #10
Thanks, Elucidus, for the example. Kys91, perhaps your textbook uses the term "range" which is not exactly the same as "codomain". In the examples Elucidus gave in response to my question, the "ranges" would be the same: [itex][0,\infty)[/itex] though the "codomains" are, as he says, different.
 
  • #11
I just don't get the concept of codomain .. why at all is anything of the sort defined .

If we have a function f(x) defined such that x belongs to the set A and f(x) belongs to the set B ( and there are no elements of B that cannot be expressed as f(x) such that x belongs to A), then what role does the codomain have to play ? From what Elucidus says what i can see is that the codomain would be a superset of B -- let as say C.
Why is it required , there would be elements in C which are not the image of any point in A.

I mean for a function to be defined is it not enough just to define a set A , and a set B and define some mapping from points in A to points in B , such that all points in A and all points in B are covered ? Why would we want to make a set C by adding some elements to B , and then say the function defined as the mapping from A to B is not the same as the function defined by the mapping from A to C. what sense does it make ??
 
  • #12
Yes, that's true and is one reason why I, seeing "co-domain", carelessly thought "range" and asked for an example! However, there are times when we want to be able to say "f is a function from A to B" where f is not "onto" B- that is, f(A) is a proper subset of B.
 
  • #13
It is very useful to discuss collections (or families) of functions that have the same domain and codomian - for example - all continuous functions from R to R. Now f(x) = x3 - x and g(x) = x2 - 4 are both members of this collection and are both polynomials. But the range of f is R, while the range of g is [1, infinity). It would seem weird to say that f and g are unrelated because their ranges are different.

The concept of codomain (which is a superset of the range) allows us to collect things more elegantly. A codomain is the set of values to could be assigned to an argument, but may not actually be assigned.

The distinction between one codomain and another becomes important when considering functions as relations between sets and when considering functions of functions (like the derivative).

To add even more complexity, most people discuss functions like sqrt(x) in the same breath as f or g, but sqrt(x) is really a partial function since ts domain is not all of R.

--Elucidus
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K